package sun.net.www.protocol.fullpath;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;

public class FullPathURLConnection extends URLConnection {


    protected FullPathURLConnection(URL url) {
        super(url);
    }

    @Override
    public void connect() throws IOException {
    }

    @Override
    public InputStream getInputStream() throws IOException {
        return new FileInputStream(getURL().getPath());
    }

}
